package com.skynet.supervision.beans.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel
public class AddUserRequest {

    @NotEmpty
    @ApiModelProperty("姓名{必填}")
    private String name;

    @ApiModelProperty("职务")
    private String titles;

    @ApiModelProperty("监察证件号")
    private String supervisionNo;

    @ApiModelProperty("军官证号")
    private String militaryIdNumber;

    @NotEmpty
    @ApiModelProperty("身份证{必填}")
    private String idNumber;

    @ApiModelProperty("入伍时间")
    private Long joinArmyTime;

    @ApiModelProperty("入党时间")
    private Long joinPartyTime;

    @ApiModelProperty("原单位")
    private String oldOrgCategory;

    @ApiModelProperty("岗位类别")
    private String positionCategory;

    @ApiModelProperty("军衔等级")
    private String militaryRank;

    @ApiModelProperty("头像地址")
    private String avatar;
}
